package com.imti.retrofitdemo;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

public interface IWeatherRequest
{

    @GET("/simpleWeather/cityList")
    Observable<WeatherListResponse<CityResponse>> requestCityList(@Query("key") String key);
    @GET("/simpleWeather/cityList")
    Call<WeatherListResponse<CityResponse>>request(@Query("key") String key);
}
